package doorAndWindow;

import returnTypes.Size;
import genericObject.GenericObject;

public class Door extends GenericObject implements OnWallObject{
	private final String type="Door";
	private int wallID = -1;
	
	public double getWidth()
	{
		return this.getObjectSize().getWidth();
	}
	
	
	public Door() {
		super("Door",new Size(0.3,2,0.8));
	}

	public void setWallID(int wallID) {
		this.wallID = wallID;
	}

	public String getType() {
		return type;
	}
	public int getWallID()
	{
		return wallID;
	}
}
